﻿@model YouWei.Infrastructure.Entity.BUserInfo

@{
    ViewBag.Title = "用户详情";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<section class="content-header">
    <h1>
        用户管理
        <small></small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i>主页</a></li>
        <li class="active">用户详情</li>
    </ol>
</section>
<section class="content">
    <div class="row">
        <div class="col-md-12">
            <div class="box box-primary">
                <div class="box-header">
                    <table class="table table-striped">
                        <tr>
                            <td>姓名</td>
                            <td>@Model.UserName</td>
                            <td>电话</td>
                            <td>@Model.Mobile</td>
                        </tr>
                        <tr>
                            <td>公司名称</td>
                            <td>@Model.CompanyName</td>
                            <td>职位</td>
                            <td>@Model.Position</td>
                        </tr>
                        <tr>
                            <td>邮箱</td>
                            <td>@Model.Email</td>
                            <td>座机</td>
                            <td>@Model.Telephone</td>
                        </tr>
                        <tr>
                            <td>微信号</td>
                            <td>@Model.WeChartNum</td>
                            <td>来源渠道</td>
                            <td>@Model.UserSence</td>
                        </tr>
                        <tr>
                            <td>地址</td>
                            <td>@Model.DAddress</td>
                            <td>创建时间</td>
                            <td>@Model.CreateDate.ToString("yyyy-MM-dd HH:mm")</td>
                        </tr>
                        @*<tr>
                            <td>OpenID</td>
                            <td>@Model.OpenID</td>
                            <td>UnionID</td>
                            <td>@Model.UnionID</td>
                        </tr>*@
                        <tr>
                            <td>简介</td>
                            <td colspan="3">@Model.UserDesc</td>
                        </tr>
                    </table>
                </div>
                
            </div>
        </div>
</section>
@section scriptsBottom{
    <script src="@Url.Content("~/lib/art-template/template-web.js")"></script>
    <script type="text/javascript">

         //用户详情
        function detail(userid) {
            var url = '@Url.Action("Detail", "BUser")' + "?userId=" + userid;
            location.href = url;
        }
    </script>
}